Platform Explorer / Nuxeo Platform 6.0

Contribution org.nuxeo.ecm.platform.oauth.directoryContrib--directories

This contribution is part of XML component org.nuxeo.ecm.platform.oauth.directoryContrib inside nuxeo-platform-oauth-6.0.jar

Extension Point

Extension point directories of component SQLDirectoryFactory.

Contributed Items

  • <directory name="oauthConsumers">
          <schema>oauthConsumer</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>oauthConsumers</table>
          <idField>consumerKey</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>
  • <directory name="oauthServiceProviders">
          <schema>oauthServiceProvider</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>oauthServiceProviders</table>
          <idField>id</idField>
          <autoincrementIdField>true</autoincrementIdField>
          <createTablePolicy>on_missing_columns</createTablePolicy>
          <substringMatchType>subfinal</substringMatchType>
        </directory>
  • <directory name="oauthTokens">
          <schema>oauthToken</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>oauthTokens</table>
          <idField>token</idField>
          <autoincrementIdField>false</autoincrementIdField>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>
  • <directory name="oauth2ServiceProviders">
          <schema>oauth2ServiceProvider</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>oauth2ServiceProviders</table>
          <idField>id</idField>
          <autoincrementIdField>true</autoincrementIdField>
          <createTablePolicy>on_missing_columns</createTablePolicy>
          <substringMatchType>subfinal</substringMatchType>
        </directory>
  • <directory name="oauth2Tokens">
          <schema>oauth2Token</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>oauth2Tokens</table>
          <idField>id</idField>
          <autoincrementIdField>true</autoincrementIdField>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>
  • <directory name="oauth2Clients">
          <schema>oauth2Client</schema>
          <dataSource>java:/nxsqldirectory</dataSource>
          <cacheTimeout>3600</cacheTimeout>
          <cacheMaxSize>1000</cacheMaxSize>
          <table>oauth2Clients</table>
          <idField>id</idField>
          <autoincrementIdField>true</autoincrementIdField>
          <createTablePolicy>on_missing_columns</createTablePolicy>
        </directory>

XML Source

<extension point="directories" target="org.nuxeo.ecm.directory.sql.SQLDirectoryFactory">

    <directory name="oauthConsumers">
      <schema>oauthConsumer</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>oauthConsumers</table>
      <idField>consumerKey</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

    <directory name="oauthServiceProviders">
      <schema>oauthServiceProvider</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>oauthServiceProviders</table>
      <idField>id</idField>
      <autoincrementIdField>true</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
      <substringMatchType>subfinal</substringMatchType>
    </directory>

    <directory name="oauthTokens">
      <schema>oauthToken</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>oauthTokens</table>
      <idField>token</idField>
      <autoincrementIdField>false</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

    <directory name="oauth2ServiceProviders">
      <schema>oauth2ServiceProvider</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>oauth2ServiceProviders</table>
      <idField>id</idField>
      <autoincrementIdField>true</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
      <substringMatchType>subfinal</substringMatchType>
    </directory>

    <directory name="oauth2Tokens">
      <schema>oauth2Token</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>oauth2Tokens</table>
      <idField>id</idField>
      <autoincrementIdField>true</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

    <directory name="oauth2Clients">
      <schema>oauth2Client</schema>
      <dataSource>java:/nxsqldirectory</dataSource>
      <cacheTimeout>3600</cacheTimeout>
      <cacheMaxSize>1000</cacheMaxSize>
      <table>oauth2Clients</table>
      <idField>id</idField>
      <autoincrementIdField>true</autoincrementIdField>
      <createTablePolicy>on_missing_columns</createTablePolicy>
    </directory>

  </extension>